﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Win32;

namespace QLQTPM_Nhom03
{
    public class RegistryUtil
    {
        public static RegistryKey Create()
        {
            RegistryKey regMySoft = Registry.CurrentUser.OpenSubKey("TimKiemDichVu");
            if (regMySoft == null)
            {
                regMySoft = Registry.CurrentUser.CreateSubKey("TimKiemDichVu");
                using (RegistryKey startup = regMySoft.CreateSubKey("HelpStartup"))
                {
                    startup.SetValue("Startup", "1");
                }
            }
            return regMySoft;
        }
    }
}
